﻿@model Monitor.Models.LocalPasswordModel
@{
    ViewBag.Title = "Управление учетной записью "+User.Identity.Name;
}
@section Headers
{
    <script type="text/javascript">
        $(document).ready(function () {
            $('#MainSplitter').jqxSplitter({ theme: theme, width: '100%', height: CurrentHeigth(), panels: [{ size: "300px" }] });
            $("#jqxMenu").jqxMenu({ width: '300px', mode: 'vertical', theme: theme });
            $('#jqxMenu').bind('click', function (item) {
                var url = $(item.target).attr('name');
                if (url != null && url != "") {
                    $.get(url, function (data) {
                        $('#contentPanel').empty();
                        $('#contentPanel').html(data);
                    });
                }
            });
        });
        $(window).resize(function () {
            $('#MainSplitter').css({ height: CurrentHeigth() });
        });
    </script>
    <!--script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&language=ru"></!--script-->
    <script src="/Scripts/map/jsMap.js"></script>    
    <script src="~/Scripts/jqx-all/jqxdragdrop.js"></script>
}
<div id="MainSplitter">
    <div class="splitter-panel">
        <div id='jqxMenu'>
            <ul>
                <li name="/account/UserTreeManager">Редактирование дерева машинок</li>
                <li name="/account/UserAreaManager">Редактирование зон</li>
                <!--
                <li>Services
                    <ul>
                        <li><a href="#">Product Development</a></li>
                        <li><a href="#">Delivery</a></li>
                        <li><a href="#">Shop Online</a></li>
                        <li><a href="#">Support</a></li>
                        <li><a href="#">Training &amp; Consulting</a></li>
                    </ul>
                </li>
                <li>Products
                    <ul>
                        <li><a href="#">New</a>
                            <ul>
                                <li><a href="#">Corporate Use</a></li>
                                <li><a href="#">Private Use</a></li>
                            </ul>
                        </li>
                        <li><a href="#">Used</a>
                            <ul>
                                <li><a href="#">Corporate Use</a></li>
                                <li><a href="#">Private Use</a></li>
                            </ul>
                        </li>
                        <li><a href="#">Featured</a></li>
                        <li><a href="#">Top Rated</a></li>
                        <li><a href="#">Prices</a></li>
                    </ul>
                </li>
                <li><a href="#">Gallery</a></li>
                <li><a href="#">Events</a></li>
                <li><a href="#">Careers</a></li>
                <li><a href="#">Contact Us</a>
                    <ul>
                        <li><a href="#">Enquiry Form</a></li>
                        <li><a href="#">Map &amp; Driving Directions</a></li>
                        <li><a href="#">Your Feedback</a></li>
                    </ul>
                </li>
-->
            </ul>
        </div>
    </div>
    <div class="splitter-panel">
        <div id="contentPanel"></div>
    </div>
</div>



